package com.liwu.base.spring.test.example2.config;

import com.liwu.base.spring.test.example2.CDPlayer;
import com.liwu.base.spring.test.example2.Listen;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * @author: liwu
 * @version: 1.0.0
 * @email: <a href="mailto:liwu@pingpongx.com">联系作者</a>
 * @date: 2018/2/1 - 下午9:26
 */
public class JavaConfig2 {


    public CDPlayer cdPlayer(Listen listen){
        CDPlayer  play=new CDPlayer();
        play.setListen(listen);
        return play;
    }


}
